home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata World Factbook 1996
/
The World Factbook - 1996 Edition - Wayzata Technology (3079) (1996).iso
/
pc
/
windows
/
viewer.txt
< prev
next >
Wrap
Text File
|
1996-01-15
|
581b
|
44 lines
to handle next
system numPages
system currPage
currPage = currPage + 1
if currPage <= numPages
-- stay on this page
i = pageNumber of this page
i = i + 1
go to page i of this book
else
currPage = currPage - 1
end if
end next
to handle previous
system numPages
system currPage
currPage = currPage - 1
-- request currPage
if currPage >= 1
-- stay on this page
i = pageNumber of this page
i = i - 1
go to page i of this book
else
currPage = currPage + 1
end if
end previous